package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 资讯附件表
    */
public class InfoAnnexes implements Serializable {
    /**
    * goods_id
    */
    private String id;

    private String infoId;

    /**
    * 货品编码
    */
    private String name;

    private String url;

    private String state;

    private String type;

    private Date uploadTime;

    private Integer size;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getInfoId() {
        return infoId;
    }

    public void setInfoId(String infoId) {
        this.infoId = infoId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", infoId=").append(infoId);
        sb.append(", name=").append(name);
        sb.append(", url=").append(url);
        sb.append(", state=").append(state);
        sb.append(", type=").append(type);
        sb.append(", uploadTime=").append(uploadTime);
        sb.append(", size=").append(size);
        sb.append("]");
        return sb.toString();
    }
}